package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 quality_record
 *
 * @author ruoyi
 * @date 2023-11-27
 */
public class QualityRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String area;

    /** 检测单位 */
    @Excel(name = "检测单位")
    private String enterprise;

    /** 检测性质 */
    @Excel(name = "检测性质")
    private String nature;

    /** 检测项目 */
    @Excel(name = "检测项目")
    private String project;

    /** 送检日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "送检日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date qdate;

    /** 检测依据 */
    @Excel(name = "检测依据")
    private String accord;

    /** 检测仪器 */
    @Excel(name = "检测仪器")
    private String device;

    /** 图片 */
    @Excel(name = "图片")
    private String imageUrl;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setArea(String area)
    {
        this.area = area;
    }

    public String getArea()
    {
        return area;
    }
    public void setEnterprise(String enterprise)
    {
        this.enterprise = enterprise;
    }

    public String getEnterprise()
    {
        return enterprise;
    }
    public void setNature(String nature)
    {
        this.nature = nature;
    }

    public String getNature()
    {
        return nature;
    }
    public void setProject(String project)
    {
        this.project = project;
    }

    public String getProject()
    {
        return project;
    }
    public void setQdate(Date qdate)
    {
        this.qdate = qdate;
    }

    public Date getQdate()
    {
        return qdate;
    }
    public void setAccord(String accord)
    {
        this.accord = accord;
    }

    public String getAccord()
    {
        return accord;
    }
    public void setDevice(String device)
    {
        this.device = device;
    }

    public String getDevice()
    {
        return device;
    }
    public void setImageUrl(String imageUrl)
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl()
    {
        return imageUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("area", getArea())
            .append("enterprise", getEnterprise())
            .append("nature", getNature())
            .append("project", getProject())
            .append("qdate", getQdate())
            .append("accord", getAccord())
            .append("device", getDevice())
            .append("imageUrl", getImageUrl())
            .toString();
    }
}
